#{extends "main_list.html"/}
<form>
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="t0">
<tbody><tr><td valign="top" width="100%">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
</tr><tr height="22">
<td valign="middle" align="left" style="padding:5px;">
 
<select name="field" size="1" >
    
<option value="" >全部
</option>
<option value="controller" >控制器
<option value="action" >行为
<option value="href" >链接
<option value="address" >IP地址
<option value="username" >用户名
</option>
    </select>
 
 
<select name="condition" size="1" >
    
<option value="like" >包含
</option>
<option value="=" >=
</option>
<option value=">" >>
</option>
<option value="<" ><
</option>
    </select>
 
 
<input type="text" name="search" value="" id="obj_keyword" class="txt01" size="40"/>
<input type="submit" value="搜索" class="btn01"/>
</td>
</tr>
</table>
</td></tr></tbody></table>
</form>

<form action="@@{delete()}" method="post" onsubmit="return chk_arrayid();">
<div style="height:400px;overflow: auto;">
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0" class="t0">
<tbody><tr><td valign="top" align="middle" width="100%" height="100%">
<table class="t1" cellspacing="0" cellpadding="0">
<thead>
<tr><td colspan="8" class="title">行为管理列表</td></tr>
<tr height="22">
<td width="50"><input type="checkbox" id="chkall"/></td>
<td width="15%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','company').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
控制器</a></td>
<td width="15%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','payDate').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
行为</a></td>
<td width="25%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','payMoney').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
链接</a></td>
<td width="15%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','prepaidMoney').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
创建时间</a></td>
<td width="15%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','note').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
IP地址</a></td>
<td width="10%"><a class="${order == 'DESC' ? 'sortedDesc' : 'sortedAsc'}" href="@{list().remove('page').add('order', (order == 'DESC' ? 'ASC' : 'DESC')).add('orderBy','createUser').add('search', params.search).add('condition',params.condition).add('field',params.field)}">
用户名</a></td>
</tr></thead>
<tbody>
%{c = ""}%
#{list pagedList.list,as:'row'}
<tr id="tr_${row.id}" class="row"  #{if row.message} style="background-color: red" #{/if} #{if row.postText} style="background-color: #ddd" #{/if}>
<td><input type="checkbox" name="arrayid" value="${row.id}"/></td>
<td>${!row.controller.equals(c) ?row.controller :'&nbsp;&nbsp;|'.raw()}&nbsp;</td>
<td>${row.action}&nbsp;</td>
<td>#{if row.message}<textarea rows="10" cols="50">${row.message}</textarea>#{/if}#{else}${row.href}#{/else}&nbsp;</td>
<td>${row.created?.format('yyyy-MM-dd HH:mm:ss')}&nbsp;</td>
<td>${row.address}&nbsp;</td>
<td>${row.username}&nbsp;</td>
</tr>
%{
 c = row.controller
}%
#{/list}
</tbody>
</table>
</td></tr></tbody></table>
</div>
</form>
